package com.laotou99.bookManage.domain;


public class BookName {
    private Integer id;
    private String name;
    private String title;
    private String author;
    private Integer price;
    private Integer num;
    private String type;
    private String location;
    private String remark1;
    private String remark2;
    
    public BookName(){}
    public BookName(int id,String name, String title, String author, Integer price, 
    		String type, String location, Integer num,
			String remark1, String remark2) {
    	this.id = id;
		this.name = name;
		this.title = title;
		this.author = author;
		this.price = price;
		this.type = type;
		this.location = location;
		this.num = num;
		this.remark1 = remark1;
		this.remark2 = remark2;
	}


	public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title == null ? null : title.trim();
    }

    public String getAuthor() {
        return author;
    }

    public void setAuthor(String author) {
        this.author = author == null ? null : author.trim();
    }

    public Integer getPrice() {
        return price;
    }

    public void setPrice(Integer price) {
        this.price = price;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type == null ? null : type.trim();
    }
 
    public String getLocation() {
        return location;
    }

    public void setLocation(String location) {
        this.location = location == null ? null : location.trim();
    }

    public String getRemark1() {
        return remark1;
    }

    public void setRemark1(String remark1) {
        this.remark1 = remark1 == null ? null : remark1.trim();
    }

    public String getRemark2() {
        return remark2;
    }

    public void setRemark2(String remark2) {
        this.remark2 = remark2 == null ? null : remark2.trim();
    }
	public Integer getNum() {
		return num;
	}
	public void setNum(Integer num) {
		this.num = num;
	}
    
}